button: Derive from GtkWidget
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 May 2020 14:30:46 +0000 (10:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 May 2020 02:53:07 +0000 (22:53 -0400)
commit4aa5fba0b59dd685f64cfee799a14ef76aac6d04
treed813072f02f5faa8429ca098f7f5cfb434e6d0a1
parent97d0e8c6e07c08aee7c45f901147d65875d81869
button: Derive from GtkWidget

We want to remove GtkBin and GtkContainer as they don't
provide much useful functionality anymore. This requires
us to move get_request_mode and compute_expand down.

We have to implement GtkBuildable, in order to keep
the <child> element in ui files working for buttons.

See #2681
gtk/gtkbutton.c
gtk/gtkbutton.h